<template>
  <div class="box">
    <el-card class="leftcard">
      <el-input placeholder="输入姓名或工号"></el-input>
      <div class="content">
        <img src="@/assets/images/k.png" alt="" />
        <div style="margin-left: 10px">
          <p>李梅里 女 15266354789</p>
          <p style="margin-top: -10px">安全管理部｜安检员</p>
        </div>
      </div>
    </el-card>
    <el-card class="rightcard">
      <div class="limg">
        <img src="@/assets/images/k.png" alt="" />
        <div class="text">在吗？我想问一下关于日报填写的规范问题</div>
      </div>
      <div class="rimg">
        <div class="text">在吗？我想问一下关于日报填写的规范问题</div>
        <img src="@/assets/images/k.png" alt="" />
      </div>
      <div class="footer">
        <el-input></el-input>
        <img src="@/assets/images/u46.svg" alt="" />
      </div>
    </el-card>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {},
};
</script>
<style>
.el-input__inner:focus {
  outline: none;
  border-color: #ffffff;
}
</style>
<style lang="scss" scoped>
.box {
  width: 100%;
  height: 100%;
  display: flex;
  margin-top: 10px;

  .leftcard {
    width: 300px;
    height: 940px;
    margin-right: 5px;
    border-radius: 10px;
    position: relative;

    ::v-deep .el-input__inner {
      position: absolute;
      top: -30px;
      left: -20px;
      width: 300px;
      border-radius: none;
    }

    .content {
      display: flex;
      align-items: center;
      width: 300px;
      height: 66px;
      position: absolute;
      top: 45px;
      left: 10px;

      img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
      }
    }
  }

  .rightcard {
    flex: 1;
    border-radius: 10px;
    position: relative;
    overflow: auto;

    .limg {
      display: flex;
      border-radius: 10px;
      margin-top: 20px;

      img {
        width: 63px;
        height: 62px;
        border-radius: 50%;
      }

      .text {
        width: 300px;
        height: 62px;
        background-color: rgba(242, 242, 242, 1);
        border-radius: 10px;
        font-weight: 400;
        font-size: 14px;
        margin-left: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }

    .rimg {
      position: absolute;
      display: flex;
      border-radius: 10px;
      margin-top: 20px;
      right: 20px;

      img {
        width: 63px;
        height: 62px;
        border-radius: 50%;
      }

      .text {
        width: 300px;
        height: 62px;
        background-color: rgba(242, 242, 242, 1);
        border-radius: 10px;
        font-weight: 400;
        font-size: 14px;
        margin-right: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }

    .footer {
      display: flex;
      margin-top: 730px;

      ::v-deep .el-input__inner {
        // width: 800px;
        height: 74px;
        border-width: 1px;
        border-style: solid;
        border-color: #ededed;
        border-radius: 10px;
      }

      img {
        margin-left: 30px;
      }
    }
  }
}
</style>
